انتقل إلى المحتوى الرئيسي

📄 Kitchen Receipt Printing System

This document explains the purpose and usage of the two main files involved in kitchen receipt generation for Al Morabaa Restaurant ERP system:

  • KitchenReceiptDocument.cs
  • KitchenNotFullPrintReceiptDocument.cs

🧾 What Is a Kitchen Receipt?

In a restaurant environment, when an order is placed, it is often sent to the kitchen for preparation. A kitchen receipt is a printed document that lists the items a kitchen is responsible for preparing, often including:

  • Order number
  • Quantity and item name
  • Special notes (e.g., "no onions")
  • Hall/table information
  • Cashier name
  • Order type (dine-in or take-away)

📘 KitchenReceiptDocument.cs

✅ Purpose

This file generates a complete kitchen receipt that includes:

  • All items in the order, regardless of which kitchen they belong to
  • Meta information like order number, cashier name, hall/table, and time

🏷️ Use Case

Used when the entire order needs to be visible in a single printout — e.g.:

  • For the main kitchen
  • When the kitchen handles all or multiple food types
  • To make sure to serve all the food together

📗 KitchenNotFullPrintReceiptDocument.cs

✅ Purpose

This file generates a partial kitchen receipt that includes:

  • Only the items belonging to the current kitchen
  • Still includes key metadata like order number and hall/table
  • Excludes items from other kitchens

🏷️ Use Case

Used when each kitchen only needs to see and prepare its own part of the order, such as:

  • A dessert station only seeing dessert items
  • A grill section only seeing grilled items

🔄 Key Differences

FeatureKitchenReceiptDocumentKitchenNotFullPrintReceiptDocument
Scope of ItemsAll items in the orderOnly items assigned to current kitchen
Used ByMain kitchen, full record printingIndividual kitchen printers
Includes Other Kitchen Items?✅ Yes❌ No
Footer Kitchen LabelOptionalOptional
Print Type Support (Edit, Cancel, etc.)✅ Yes✅ Yes

🏁 Summary

These two files serve different operational needs:

  • Full receipt (KitchenReceiptDocument): A comprehensive kitchen order for management or central kitchens.
  • Filtered receipt (KitchenNotFullPrintReceiptDocument): A per-kitchen task list to help streamline operations and reduce errors in the kitchen.
  • It is determined by the kitchen settings if it support full print or partial print By separating these concerns, the system can print targeted receipts while still maintaining the flexibility to generate a full overview when needed.